import { BrowserRouter as Router, Switch, Route } from 'react-router-dom'

import './App.scss'
import Index from './views/Index'
import View1 from './views/View1'

function App() {
  return (
    <Router>
      <Switch>
      <Route component={Index} path='/' exact/>
      <Route component={View1} path='/view1' exact/>
      </Switch>
    </Router>
  )
}

export default App
